package com.cloudbroker.bcs.platform.dav.common.constant;

public class HttpConstant {
	/**
	 * 编码格式. UTF-8
	 */
	public static final String CHARSET_UTF_8 = "UTF-8";
	/**
	 * 编码格式. GBK
	 */
	public static final String CHARSET_GBK = "GBK";
	
	/** 连接超时时间 */
	public final static int CONNECT_TIMEOUT = 15000;

	/** socket连接超时时间 */
	public final static int SOCKET_TIMEOUT = 20000;

	/** 发送请求相应时间 */
	public final static int REQUEST_TIMEOUT = 15000;
	/**
	 * 最大连接数
	 */
	public final static int MAX_TOTAL_CONNECTIONS = 500;
	/**
	 * 每个路由最大连接数 访问每个目标机器 算一个路由 默认 2个
	 */
	public final static int MAX_ROUTE_CONNECTIONS = 80;
	
	public final static String CONTENT_TYPE_FORM = "application/x-www-form-urlencoded";
}
